package com.h3c.ptability.dto;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: PtRoleUserDTO
 *
 * @Author: l22886
 * @Date: 2022-03-14
 * Description: pt_role_user dto实体
 * Version: 1.0
 */
@ApiModel(value="PtRoleUser对象", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PtRoleUserDTO {
    @ApiModelProperty(value = "应用ID")
    private String appId;

    @ApiModelProperty(value = "角色ID")
    private String roleId;

    @ApiModelProperty(value = "用户域账号")
    private String domainAccount;

    @ApiModelProperty(value = "用户工号（ID）")
    private String userId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "用户状态：1 正常；2 停用；")
    private Integer userStatus;

    @ApiModelProperty(value = "创建人工号")
    private String creatorId;

    /**
     * 排序字段 + 升序， -降序
     * 比如 +updateTime 根据 修改时间升序排序，-updateTime 根据 修改时间降序排序
     */
    private String orderBy;

}
